<h1><%=h @profile.name %></h1>
<p>Birthday <%=h @profile.dob %></p>
<p>User: <%= link_to @profile.owner.username, @profile.owner %></p>

<%= link_to 'Edit', edit_profile_path(@profile) %> |
<%= link_to 'Destroy', @profile, :confirm => 'Are you sure?', :method => :delete %> |
<%= link_to 'Back', profile_path %>